package com.atcc.test.mapper;


import org.apache.ibatis.annotations.*;
import org.apache.ibatis.annotations.Options.FlushCachePolicy;

import com.atcc.test.domain.CollegeInfo;

@Mapper
public interface CollegeMapper {
	
	@Select("select *from person where name = #{name}")
	@Results({
		@Result(property="name",column="name"),
		@Result(property="description",column="description"),
	})
	@Options(useCache=true,flushCache=FlushCachePolicy.FALSE)
	CollegeInfo selectColInfoByName(String name);
	
}
